var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  // 向浏览器渲染->index页面模板，并发送变量
  res.render('index', {
    title: 'Express456',
    num: 20,
    em: "<em>这是一个倾斜的文字</em>",
    flag: false,
    list: ["张三","李四","王二","钱五","赵六"]
  });
});

module.exports = router;
